package com.example.my930;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ListView;

public class ListViewActivity extends AppCompatActivity {
    ListView lvContact;
    int[] imgIds=new int[]{
            R.mipmap.img01,R.mipmap.img02,
            R.mipmap.img03, R.mipmap.img04
    };
    String[] strNames=new String[]{
            "1","2","3","4"
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_list_view);

        lvContact=findViewById(R.id.lvContact);
    }
}
